package org.chipu.jnids.sce.profile;

public class AnormalMessage {
	public final Anormality importance;
	public final StatType msg;

	public AnormalMessage(Anormality importance, StatType msg) {
		if (importance == null || msg == null)
			throw new NullPointerException();
		this.importance = importance;
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "Anormality of category " + importance.getValue() + " on " + msg;
	}
}